import request from '../unitls/request';
export const loginAPI = ({ mobile, code }) => {
  return request({
    method: 'POST',
    url: '/v1_0/authorizations',
    data: { mobile, code },
  });
};
export const getAPI = () => {
  return request({
    url: '/v1_0/user/profile',
  });
};
